package com.far.game.xiuzhen.common.database.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author mike
 * @since 2022-08-07
 */
@TableName("xz_skill_bufs")
@ApiModel(value = "SkillBufs",description="技能buff对象")
public class SkillBufs extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    @TableId(value = "tid", type = IdType.AUTO)
    private Integer tid;


    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createAt;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.UPDATE)
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateAt;

    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;

    /**
     * 出招顺序
     */
    @ApiModelProperty(value = "出招顺序")
    private Integer orderIdx;

    /**
     * 技能特性
     */
    @ApiModelProperty(value = "技能特性")
    private Integer bufType;

    /**
     * 触发机率
     */
    @ApiModelProperty(value = "触发机率")
    private Double triggerOdds;

    /**
     * 执行结果
     */
    @ApiModelProperty(value = "执行结果")
    private Integer resultType;

    /**
     * 输出参考
     */
    @ApiModelProperty(value = "输出参考")
    private Integer refTarget;

    /**
     * 变化类型
     */
    @ApiModelProperty(value = "变化类型")
    private Integer changeType;

    /**
     * 变化值
     */
    @ApiModelProperty(value = "变化值")
    private Long changeVal;

    /**
     * 变化值变化类型
     */
    @ApiModelProperty(value = "变化值变化类型")
    private Integer changeValType;

    /**
     * 作用范围
     */
    @ApiModelProperty(value = "作用范围")
    private Integer findDomain;

    /**
     * 作用时 属性检测
     */
    @ApiModelProperty(value = " 作用时 属性检测")
    private Integer findProp;

    /**
     * 作用时最小数量
     */
    @ApiModelProperty(value = "作用时最小数量")
    private Integer findNumMin;

    /**
     * 作用时最大数量
     */
    @ApiModelProperty(value = "作用时最大数量")
    private Integer findNumMax;

    /**
     * 作用周期
     */
    @ApiModelProperty(value = "作用周期")
    private Integer cycle;

    /**
     * 作用周期类型
     */
    @ApiModelProperty(value = "作用周期类型")
    private Integer cycleType;

    /**
     *  固定技能ID
     */
    @ApiModelProperty(value = "固定技能ID")
    private String skillSid;

    /**
     * 固定值
     */
    @ApiModelProperty(value = "固定值")
    private String sid;

    /**
     * 追加参考
     */
    @ApiModelProperty(value = "追加参考")
    private String saddRef;






    public String getSaddRef() {
        return saddRef;
    }

    public void setSaddRef(String saddRef) {
        this.saddRef = saddRef;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }


    public LocalDateTime getCreateAt() {
        return createAt;
    }

    public void setCreateAt(LocalDateTime createAt) {
        this.createAt = createAt;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public LocalDateTime getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(LocalDateTime updateAt) {
        this.updateAt = updateAt;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Integer getOrderIdx() {
        return orderIdx;
    }

    public void setOrderIdx(Integer orderIdx) {
        this.orderIdx = orderIdx;
    }

    public Integer getBufType() {
        return bufType;
    }

    public void setBufType(Integer bufTyp) {
        this.bufType = bufTyp;
    }

    public Double getTriggerOdds() {
        return triggerOdds;
    }

    public void setTriggerOdds(Double triggerOdds) {
        this.triggerOdds = triggerOdds;
    }



    public Integer getRefTarget() {
        return refTarget;
    }

    public void setRefTarget(Integer refTarget) {
        this.refTarget = refTarget;
    }

    public Integer getChangeType() {
        return changeType;
    }

    public void setChangeType(Integer changeType) {
        this.changeType = changeType;
    }

    public Long getChangeVal() {
        return changeVal;
    }

    public void setChangeVal(Long changeVal) {
        this.changeVal = changeVal;
    }

    public Integer getChangeValType() {
        return changeValType;
    }

    public void setChangeValType(Integer changeValType) {
        this.changeValType = changeValType;
    }

    public Integer getFindDomain() {
        return findDomain;
    }

    public void setFindDomain(Integer findDomain) {
        this.findDomain = findDomain;
    }

    public Integer getFindProp() {
        return findProp;
    }

    public void setFindProp(Integer findProp) {
        this.findProp = findProp;
    }

    public Integer getFindNumMin() {
        return findNumMin;
    }

    public void setFindNumMin(Integer findNumMin) {
        this.findNumMin = findNumMin;
    }

    public Integer getFindNumMax() {
        return findNumMax;
    }

    public void setFindNumMax(Integer findNumMax) {
        this.findNumMax = findNumMax;
    }

    public Integer getCycle() {
        return cycle;
    }

    public void setCycle(Integer cycle) {
        this.cycle = cycle;
    }

    public Integer getCycleType() {
        return cycleType;
    }

    public void setCycleType(Integer cycleType) {
        this.cycleType = cycleType;
    }

    public String getSkillSid() {
        return skillSid;
    }

    public void setSkillSid(String skillSid) {
        this.skillSid = skillSid;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public Integer getResultType() {
        return resultType;
    }

    public void setResultType(Integer resultType) {
        this.resultType = resultType;
    }

    @Override
    public String toString() {
        return "SkillBufs{" +
                "tid=" + tid +
                ", createAt=" + createAt +
                ", createBy='" + createBy + '\'' +
                ", updateAt=" + updateAt +
                ", updateBy='" + updateBy + '\'' +
                ", orderIdx=" + orderIdx +
                ", bufType=" + bufType +
                ", triggerOdds=" + triggerOdds +
                ", resultType=" + resultType +
                ", refTarget='" + refTarget + '\'' +
                ", changeType=" + changeType +
                ", changeVal=" + changeVal +
                ", changeValType=" + changeValType +
                ", findDomain=" + findDomain +
                ", findProp=" + findProp +
                ", findNumMin=" + findNumMin +
                ", findNumMax=" + findNumMax +
                ", cycle=" + cycle +
                ", cycleType=" + cycleType +
                ", skillSid='" + skillSid + '\'' +
                ", sid='" + sid + '\'' +
                '}';
    }
}
